package com.yunxi.vehicle.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.ApiResult;
import com.yunxi.vehicle.pojo.VehicleModelVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 车辆型号 服务类
 * </p>
 *
 * @author caoYong
 * @since 2019-05-10
 */
public interface VehicleModelDubboService {

    VehicleModelVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    ApiResult saveOrUpdate(VehicleModelVO vehicleModelVO) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    void del(VehicleModelVO vehicleModelVO);

    List modelList();

    PageInfo<VehicleModelVO> findPageByVO(VehicleModelVO vehicleModelVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;
}
